#ifndef PATRON_HPP
#define PATRON_HPP

Patron::Patron(double Fine, String Name, PhoneNumber Number, Email Eml, int Age, int LibraryCard, Address Addr)
{
	fine = Fine;
	setName(Name);
	setNumber(Number);
	setEmail(Eml);
	setAge(Age);
	setLibraryCard(LibraryCard);
	setAddress(Addr);
}

double Patron::getFine()
{
	return fine;
}

void Patron::setFine(double num)
{
	fine = num;
}

void Patron::browse()
{
	Vector<Item> items = getItems();
	for(int i = 0; i < items.size(); i++)
	{
		cout << items[i].display() << endl;
	}
}

bool Patron::reserver(Item item)
{
	return reserverItem(item, this);
}

#endif
